package jfox.platform.aaa.bo;

import java.util.List;

import jfox.platform.aaa.entity.Role;
import jfox.platform.aaa.entity.User;

/**
 * @author <a href="mailto:thaiguo@gmail.com">Taiguo Zhang</a>
 */
public interface RoleBO {

	Role getRoleById(long id);

    void newRole(Role role);

    List<Role> getAllRoles();

    int deleteRole(long roleId);
    
    int updateRole(Role role);
}
